package com.neusoft.chanceserver.service;

import com.neusoft.chanceserver.dto.ChanceSearch;
import com.neusoft.chanceserver.dto.RespBean;
import com.neusoft.chanceserver.entity.Chance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.chanceserver.entity.Customer;

/**
 * <p>
 * 主机会表 服务类
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public interface IChanceService extends IService<Chance> {

    RespBean searchChance(ChanceSearch chanceSearch);

    RespBean addChance(Chance chance);

    RespBean deleteChance(int id);

    RespBean updateChance(Chance chance);

    RespBean queryAllChance();


    RespBean getChanceByCustomer(Customer customer);
}
